package com.aurora.source.base;


import com.aurora.source.util.netutil.RequestMethod;

/**
 * Created by ww on 2018/9/4.
 */

public class BasePresenter<T extends IBaseView> {
    protected T baseView;
    protected RequestMethod requestMethod;
    public BasePresenter(T baseView) {
        attachView(baseView);
        requestMethod = new RequestMethod();
    }
    public void attachView(T baseView){
        this.baseView = baseView;
    }
    public void detachView(){
        baseView = null;
    }

}
